package com.zeei.bfs.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zeei.bfs.dao.QueryDataDao;

import com.zeei.bfs.service.QueryDataService;

@Service("QueryDataService")
public class QueryDataServiceImpl implements QueryDataService{
	
	@Autowired
	private QueryDataDao dataQueryDao;

	@Override
	public List<Map<String,Object>> queryData(String  dataQuery) {
		// TODO Auto-generated method stub
		Map<String, Object> hashMap=new HashMap<String, Object>();
		hashMap.put("dataQuery", dataQuery);
		return dataQueryDao.queryData(hashMap);
	}

}
